package com.huawei.cloudapp.utils;

public class CasCommonUtils {
    private static final long CLICK_INTERVAL = 1500;
    private static long lastClickTime = 0;

    public static boolean isFastClick() {
        long currentTime = System.currentTimeMillis();
        if (currentTime - lastClickTime <= CLICK_INTERVAL) {
            return true;
        }
        lastClickTime = currentTime;
        return false;
    }
}
